package cn.sjx;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;

/**
 * 地磁UDP启动类
 *
 * @Author: sjx
 * @Date: 2019年08月30日 0030 11:45:34
 */
@SpringBootApplication
public class ServerRunApplication {

    public static void main(String[] args) {
        SpringApplication app = new SpringApplication(ServerRunApplication.class);
        app.run(args);
    }

    @Bean
    public TioUdpServer socketServer9114() {
        return new TioUdpServer();
    }

}